package shooter.models;

import java.awt.image.BufferedImage;

import shooter.Images;

/**
 * Represents a part of a border in the game
 * 
 * @author Michail Tausch
 */
public class Wall extends Sprite {

	private int kistentyp;
	
	/**
	 * The constructor.
	 * @param x
	 * @param y
	 * @param kistentyp
	 */
	public Wall(double x, double y, int kistentyp) {
		super(0, x, y);
		this.kistentyp=kistentyp;
		dx = 0.0;
		dy = 0.0;
	}
	
	/**
	 * Checks whether the shot collidates with an other object.
	 */
	@Override
	public void collidedWith(Sprite sprite) {
	}
	
	/**
	 * Returns the image of the shot.
	 */
	@Override
	public BufferedImage getImage() {
		return Images.images[kistentyp];
	}

}
